const Layout = () => import('@/layout/index.vue')

export default {
    path: '/hiddenDanger',
    component: Layout,
    redirect: '/hiddenDanger/hiddenDangerMange',
    name: 'hiddenDanger',
    meta: {
        title: '隐患',
        icon: 'sidebar-menu'
    },
    children: [{
        path: 'hiddenDangerMange',
        name: 'hiddenDangerMange',
        component: () => import('@/views/hiddenDanger/hiddenDangerMange.vue'),
        meta: {
            title: '巡查统计'
        },
        children: [ {
            path: 'hiddenDangerRecord',
            name: 'hiddenDangerRecord',
            component: () => import('@/views/hiddenDanger/hiddenDangerRecord.vue'),
            meta: {
                sidebar: false,
                title: '隐患整改记录'
            },
        }]
    }]
}
